import request from '@/utils/request'

export function getGroupclass(data) {
	return request({
		url: '/SchedDashboard/group_class',//团课预约记录
		method: 'post',
		data
	})
}

export function cancelOper(data) {
	return request({
		url: '/SchedDashboard/CancelOper',//取消排队/取消预约
		method: 'post',
		data
	})
}

export function getSignIn(data) {
	return request({
		url: '/SchedDashboard/SignIn',//签到(批量签到)/取消签到
		method: 'post',
		data
	})
}

export function appointmentRecord(data) {
	return request({
		url: '/SchedDashboard/AppointmentRecord',//预约记录
		method: 'post',
		data
	})
}

export function appointmentDetails(data) {
	return request({
		url: '/SchedDashboard/AppointmentDetails',//预约详情
		method: 'post',
		data
	})
}

export function privateRecord(data) {
	return request({
		url: '/SchedDashboard/PrivateRecord',//私教教练列表
		method: 'post',
		data
	})
}

export function coachCanRese(data) {
	return request({
		url: '/SchedDashboard/coach_can_rese',//教练可约时间
		method: 'post',
		data
	})
}

export function getBanKeList(data){
  return request({
    url: '/SchedDashboard/ban_ke_list',
    method: 'post',
    data
  })
}

export function getZuoye(data){
  return request({
    url: '/SchedDashboard/ban_ke_zuoye',
    method: 'post',
    data
  })
}
export function getBankeZuoye(data){
  return request({
    url: '/SchedDashboard/getBankeZuoye',
    method: 'post',
    data
  })
}

export function getShunjian(data){
  return request({
    url: '/SchedDashboard/ban_ke_shunjian',
    method: 'post',
    data
  })
}
export function getBankeShunjian(data){
  return request({
    url: '/SchedDashboard/getShunjian',
    method: 'post',
    data
  })
}

export function getClassMemberList(data){
  return request({
    url: '/SchedDashboard/class_member_list',
    method: 'post',
    data
  })
}

export function getStatus(data){
  return request({
    url: '/SchedDashboard/class_member_leave_status',
    method: 'post',
    data
  })
}
